package com.learn.boot.xss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * Request配置类
 *
 * @author: MI
 * @email: 448341911@qq.com
 * @createDate: 2023/11/24 22:53
 * @updateUser: MI
 * @updateDate: 2023/11/24 22:53
 * @updateRemark: 修改内容
 * @version: v1.0
 */
@Data
@ConfigurationProperties(prefix = RequestProperties.PREFIX)
public class RequestProperties {


    /**
     * request配置前缀
     */
    public final static String PREFIX = "mate.request";
    /**
     * 开启自定义request
     */
    private Boolean enabled = false;

    /**
     * 放行url
     */
    private List<String> skipUrl = new ArrayList<>();
}
